# 可变和不可变参数
def update_param(param, param_list):
    param = 100
    print("update_param param:", param)
    param_list = [1, 2, 3]
    print("update_param param_list", param_list)

    # param_list[0] = 777
    print("函数执行完成")


param = 99
global_list = [4, 5, 6]
update_param(param, global_list)
print("param:", param)
print("global_list", global_list)
